{% extends "onk/base.html" %}
{% load tagging_tags %}

{% block title %}{{object.name|escape}}{% endblock %}

{% block content %}
<h1>{{object.name|escape}}</h1>
{% autoescape off %}
<p>{{object.content}}</p>
{% endautoescape %}
<hr>
<!--Tags: {{object.tags}} -->
<p>Tags: {% tags_for_object object as tag_list %}
	{% for tag in tag_list %}
	<a href="/onk/tag/{{tag}}/" title="">{{ tag.name }}</a>
	{% endfor %}
</p>
<p>Author: {{ object.author }}</p>
<p>Created: {{ object.created }}</p>
<p>Modified: {{ object.modified }}</p>

{% if perms.onk.change_page %}
<p><a href="{{ object.get_absolute_url }}edit/">Edit this page?</a></p>
{% endif %}

{% endblock %}